package com.code.train.service;

import com.code.train.domain.DailyTrainCarriage;
import com.code.train.req.DailyTrainCarriageQueryReq;
import com.code.train.req.DailyTrainCarriageSaveReq;
import com.code.train.resp.PageResp;
import com.code.train.resp.DailyTrainCarriageQueryResp;

import java.util.Date;
import java.util.List;

/**
 * TrainService
 *
 * @param
 * @author 南汉卿
 * @return
 * @date 2025/8/21 23:57
 */
public interface DailyTrainCarriageService {
    void save(DailyTrainCarriageSaveReq req);

    PageResp<DailyTrainCarriageQueryResp> queryList(DailyTrainCarriageQueryReq req);

    void delete(Long id);

    void genDaily(Date date, String trainCode);

    List<DailyTrainCarriage> selectBySeatType(Date date, String trainCode, String seatType);
}